package com.example.model.article.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "Author", description = "APP文章作者信息表")
public class Author {
    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer authorId;

    @Schema(description = "作者名称")
    private String authorName;

    @Schema(description = "0 爬取数据 1签约合作商 2平台自媒体人")
    private Integer authorType;

    @Schema(description = "社交账号ID")
    private Integer userId;
    
    @Schema(description = "创建时间")
    private Date createdTime;
    
    @Schema(description = "自媒体账号")
    private Integer wmUserId;
}
